1 % Generator: GNU source-highlight, by Lorenzo Bettini, http://www.gnu.org/software/src-highlite
3 {\ttfamily \raggedright {
5 \mbox{}\textbf{\textcolor{Blue
}{for
}}\
\textcolor{BrickRed
}{(
}\textcolor{ForestGreen
}{int
}\ i
\textcolor{BrickRed
}{=
}\textcolor{Purple
}{1}\textcolor{BrickRed
}{;
}\ i
\textcolor{BrickRed
}{*
}i
\textcolor{BrickRed
}{$<$=
}n
\textcolor{BrickRed
}{;
}\ i
\textcolor{BrickRed
}{++)
}\
\textcolor{Red
}{\
{} \\
6 \mbox{}\ \
\textbf{\textcolor{Blue
}{if
}}\
\textcolor{BrickRed
}{(
}n
\textcolor{BrickRed
}{\%
}i\
\textcolor{BrickRed
}{==
}\
\textcolor{Purple
}{0}\textcolor{BrickRed
}{)
}\
\textcolor{Red
}{\
{} \\
7 \mbox{}\ \ \ \ cout\
\textcolor{BrickRed
}{$<$$<$
}\ i\
\textcolor{BrickRed
}{$<$$<$
}\ endl
\textcolor{BrickRed
}{;
} \\
8 \mbox{}\ \ \ \
\textbf{\textcolor{Blue
}{if
}}\
\textcolor{BrickRed
}{(
}i
\textcolor{BrickRed
}{*
}i
\textcolor{BrickRed
}{$<$
}n
\textcolor{BrickRed
}{)
}\ cout\
\textcolor{BrickRed
}{$<$$<$
}\
\textcolor{BrickRed
}{(
}n
\textcolor{BrickRed
}{/
}i
\textcolor{BrickRed
}{)
}\
\textcolor{BrickRed
}{$<$$<$
}\ endl
\textcolor{BrickRed
}{;
} \\
9 \mbox{}\ \
\textcolor{Red
}{\
}} \\
10 \mbox{}\textcolor{Red
}{\
}}\ \\
12 } \normalfont\normalsize